<template>
  <div id="app">
    <span>App</span>
    <br />
    <router-link to="/list">商品列表</router-link>
    <button @click="tzFn">商品列表</button>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  methods: {
    tzFn() {
      this.$router.push({ name: "ruby" })
    }
  }
}
</script>
